#include "BulletCollision/CollisionShapes/btCapsuleShape.h"
#ifdef __cplusplus
extern "C" {
#endif
btCapsuleShapeZ* bullet_NewbtCapsuleShapeZ(double radius,double height){
	btScalar c_arg_radius=radius;
	btScalar c_arg_height=height;
	btCapsuleShapeZ* wrap_out = new btCapsuleShapeZ(c_arg_radius,c_arg_height);
	return wrap_out;
}

btCapsuleShapeX* bullet_NewbtCapsuleShapeX(double radius,double height){
	btScalar c_arg_radius=radius;
	btScalar c_arg_height=height;
	btCapsuleShapeX* wrap_out = new btCapsuleShapeX(c_arg_radius,c_arg_height);
	return wrap_out;
}

btCapsuleShapeData* bullet_NewbtCapsuleShapeData(){
	btCapsuleShapeData* wrap_out = new btCapsuleShapeData();
	return wrap_out;
}

btConvexInternalShapeData* bullet_btCapsuleShapeData_GetFieldOfM_convexInternalShapeData(btCapsuleShapeData* c_this){
	return (btConvexInternalShapeData*)(&c_this->m_convexInternalShapeData);
}

char** bullet_btCapsuleShapeData_GetFieldOfM_padding(btCapsuleShapeData* c_this){
	return (char**)(&c_this->m_padding);
}

int bullet_btCapsuleShapeData_GetFieldOfM_upAxis(btCapsuleShapeData* c_this){
	return (int)(c_this->m_upAxis);
}

btCapsuleShape* bullet_NewbtCapsuleShape(double radius,double height){
	btScalar c_arg_radius=radius;
	btScalar c_arg_height=height;
	btCapsuleShape* wrap_out = new btCapsuleShape(c_arg_radius,c_arg_height);
	return wrap_out;
}

void bullet_btCapsuleShape_deSerializeFloat(btCapsuleShape* c_this,btCapsuleShapeData* dataBuffer){
	btCapsuleShapeData * c_arg_dataBuffer=(btCapsuleShapeData *)(void*)(dataBuffer);
	c_this->deSerializeFloat(c_arg_dataBuffer);
}

double bullet_btCapsuleShape_getHalfHeight(btCapsuleShape* c_this){
	btScalar c_out = c_this->getHalfHeight();
	double wrap_out = (c_out);
	return wrap_out;
}

double bullet_btCapsuleShape_getRadius(btCapsuleShape* c_this){
	btScalar c_out = c_this->getRadius();
	double wrap_out = (c_out);
	return wrap_out;
}

int bullet_btCapsuleShape_getUpAxis(btCapsuleShape* c_this){
	int c_out = c_this->getUpAxis();
	int wrap_out = (c_out);
	return wrap_out;
}

#ifdef __cplusplus
}
#endif
